<%=link_to 'Import stocks', {:controller=>'import_resources', :action=>'import_stocks'}%>
<%=link_to 'Import balance sheet', {:controller=>'import_resources', :action=>'import_balance_sheets'}%>
<%=link_to 'Import cash flow statement', {:controller=>'import_resources', :action=>'import_cash_flow_statements'}%>
<%=link_to 'Import profit statement', {:controller=>'import_resources', :action=>'import_profit_statements'}%>

<table>
  <tr>
    <th><%= t "stock.company_name" %></th>
    <th><%= t "stock.stock_no" %></th>
    <th><%= t "stock.abbr"%></th>
  </tr>

<% for stock in @stocks %>
  <tr>
    <td><%=h stock.company_name %></td>
    <td><%=h stock.stock_no %></td>
    <td><%=h stock.abbr %></td>
    <td><%= link_to 'Show', admin_stock_path(stock) %></td>
  </tr>
<% end %>
</table>
<%= will_paginate @posts %>
<br />

